package cc.chengheng.spring代码测试.CircularDependency;

import org.springframework.context.annotation.Lazy;
import org.springframework.stereotype.Component;


public class B {

    private A a;

    public A getA() {
        return a;
    }

    public void setA(A a) {
        this.a = a;
        System.out.println("B 创建完成");
    }
}
